using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ACME.Northwind.DataTransfer;

namespace ACME.Northwind.Service.Interfaces
{
	/// <summary>
	/// The service interface for the 'Product' object type
	/// </summary>
	public partial interface IProductService : IPersistableService<ProductDTO>
	{
		/// <summary>
		/// Return a specific Product object by primary key
		/// </summary>
		ProductDTO SelectByPrimaryKey(int productid);

		/// <summary>
		/// Return a list of related OrderDetail objects
		/// </summary>
		List<OrderDetailDTO> GetOrderDetailList(ProductDTO item);

		/// <summary>
		/// Return the related Category item
		/// </summary>
		CategoryDTO GetCategoryItem(ProductDTO item);

		/// <summary>
		/// Return the related Supplier item
		/// </summary>
		SupplierDTO GetSupplierItem(ProductDTO item);

	}
}
